home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / system / cboot40.zip / CBOOT.DOC < prev    next >
Text File  |  1990-03-21  |  10KB  |  223 lines

  1.      
  2. CBOOT.COM - CBOOT DeLuxe Version 4.0 - Beta version, March 1990 
  3.  
  4.              "Controlled Chaos Rebooter"
  5.  
  6. This program is my own working copy of a program that I wrote back
  7. in 1983 on a floppy based system. CBOOT was the first memory
  8. resident program that I ever wrote. What it did was allow you to
  9. break out of misbehaved programs. When I first started writing
  10. assembly language I had lots of misbehaved programs. Even now I
  11. have a good need for this program.
  12.  
  13. The program is a memory resident. It takes over the keyboard
  14. interrupt rather aggressively and watches for a hot key
  15. combination. The menu that comes up will allow you to kill the
  16. currently running program, restore the video mode or make an
  17. attempt at recovering the DOS memory map. (MALLOC).
  18.  
  19. CBOOT can recover from many "locked" situations. CBOOT cannot
  20. recover if memory is completely trashed (which may also include
  21. CBOOT). CBOOT will not be able to respond if the interrupts are
  22. turned off because the program will not be able to respond to
  23. keystrokes. 
  24.  
  25. Looking back on the old program, I realize that, although my
  26. programming technique has changed, my approach to a problem has
  27. not changed much. This program mostly just adds some new experience
  28. to the old one. It also adds a few interesting odd routines that
  29. I have accumulated over the years. 
  30.  
  31. CBOOT is a "Power User" utility and is not for the coward. You can
  32. screw up something with CBOOT very easily. Rebooting or crashing
  33. out of a program is not always the best thing to do. DBASE, for
  34. instance may not have updated the current database. Word processors
  35. may not have saved the current document. It's main use is to break
  36. out of badly behaved bugs in programs under development. 
  37.  
  38. What I need from you, gentle user, is a bug report. I need to know
  39. if CBOOT works on your machine. If CBOOT locks your machine, try
  40. running without keyboard enhancers and see if it still works. I
  41. know, for instance, that CBOOT and PC-KWIK's KBD program conflict.
  42. Leave a comment to the sysop at PC-Rockland BBS (914) 353-2157. The
  43. message will get to me. This is the only way that I will respond. 
  44.  
  45. Do not write to me or call me voice. I am hardly ever home. Since
  46. I make little or no money off of CBOOT, I have not set up any
  47. method, other than the local BBS, for providing updates. Please 
  48. do not ask me to mail anything. Download from the BBS instead. 
  49.  
  50. I also need to know what features are needed. Keep in mind that
  51. many may not be possible in the small size of a TSR. 
  52.  
  53. USING CBOOT. 
  54.  
  55. The easy way is to type CBOOT from the command line. Or put it into
  56. your AUTOEXEC.BAT 
  57.  
  58. Use Alt-Left Shift-B to start up CBOOT. 
  59.  
  60. CBOOT is customizeable from the command line. These are the options
  61. that I am pretty sure work: 
  62.  
  63. Use CBOOT option1 option2 option3 .... 
  64. to start up CBOOT. Options can be in any order, but must be
  65. separated by at least one space. 
  66.  
  67. NOCRIT    -    Don't install critical error handler. CBOOT will
  68.                normally replace the "ABORT, RETRY IGNORE" message
  69.                with a box that gives a little more information.
  70.                Some programs work better if they handle the
  71.                situation themselves. Some programs do not use DOS
  72.                to access the Critical Error Vector. CBOOT will have
  73.                no affect on them.
  74.  
  75.  
  76. NODIV     -    Don't install divide overflow handler. CBOOT traps 
  77.                divide overflow errors and allows you to continue
  78.                with the program, or else you can use CBOOT's menu
  79.                options.
  80.  
  81. SWAP12    -    swap LPT1 and LPT2 ports.
  82.  
  83. SWAP23    -    swap LPT2 and LPT3 ports.
  84.  
  85. SWAP13    -    swap LPT1 and LPT3 ports.
  86.  
  87.                CBOOT allows swapping of ports. This is not simply
  88.                replacing port addresses. This is true redirection
  89.                which can be very useful on networks.
  90.  
  91. TURBO     -    Enter Turbo mode on Turbo XT's. This does not work
  92.                for turbo AT's.
  93.  
  94. FIXBW     -    Trap attempts to use color for CGA BW screens. Some
  95.                color combinations are not readable on composite or
  96.                LCD screens. This option will cause CBOOT to trap
  97.                mode changes to color CGA and change them to BW80
  98.                mode. Use dos's MODE BW80 at some time to get the
  99.                current screen mode to BW mode, as CBOOT will not
  100.                change the current mode, only new attempts to change
  101.                mode.
  102.  
  103. BLOCK     -    Make a block cursor (for laptops). This reforms the 
  104.                cursor to a block cursor every time a key is struck.
  105.                Programs such as Word Perfect work very hard to keep
  106.                the small cursor. CBOOT works hard to make the
  107.                cursor large. 
  108.  
  109. NONMI     -    Do not install parity error trap. CBOOT will trap
  110.                parity errors by default and search for the
  111.                offending chip. This may be a better alternative to
  112.                the bios routine which shuts down the machine. Use
  113.                NONMI to turn off CBOOT's parity trap.
  114.  
  115. REFRSH    -    Recalculate memory refresh rate to increase speed.
  116.                This can effectively increase performance of a PC
  117.                up to 10%. Some networks crash when the refresh rate
  118.                is altered.
  119.  
  120. HSCAN=xx  -    Change the hot key scan code. xx is two hex digits.
  121.  
  122. HSHIFT=x  -    Change the hot key shift combination. Use the
  123.                program DKEY.COM to look for good combinations of
  124.                shift keys and scan codes.
  125.  
  126. UNINST    -    Uninstall CBOOT, freeing up memory and returning to
  127.                state when CBOOT was first invoked. If other TSR's
  128.                were installed after CBOOT, this will kill them.
  129.                But it will not clear out their memory usage.
  130.  
  131. FIX27     -    Free local environment area for TSR's. This saves
  132.                at least 160 bytes for every TSR, more if you have
  133.                a lot of environment space. There is a very remote
  134.                chance that a TSR which uses DOS may become confused
  135.                by FIX27. I have not found any program that objects
  136.                to this option.
  137.  
  138.  
  139. CBOOT Menu items:
  140.  
  141. Most menu items are numbered. Pressing the number or the function
  142. key corresponding to the number will cause that menu item to
  143. execute. 
  144.  
  145. MAIN MENU: 
  146.  
  147.      1. Reboot Ctrl Alt Del. This is the same a three finger boot.
  148.         if you current program has locked you out of this option 
  149.         and CBOOT is still responding then you can use this to
  150.         restart the computer.
  151.  
  152.      2. Reboot with memory check. Same as choice 1, but goes
  153.         through the whole memory check. (386MAX and some other 386
  154.         memory managers make it a warm boot).
  155.  
  156.      3. Terminate Current Program. This option should return you
  157.         to the DOS prompt. 
  158.  
  159.      4. Restore interrupts. Some programs (such as Basica) redirect
  160.         interrupts all over the place. Some of these may still
  161.         point to the dead program. You may be safe in using this
  162.         option to restore the interrupts to the way they were just
  163.         after CBOOT finished installing. This will disable any
  164.         TSR's installed after CBOOT. 
  165.  
  166.  
  167.      5. Display Interrupts. Shows a list of interrupts as they
  168.         currently stand and the entry state of some key registers.
  169.  
  170.      6. Port Control. This is CPORT.COM, an old program that I
  171.         wrote 100 years ago. The CPORT menus give important port
  172.         information and the ability to control the ports. Serial
  173.         ports may be screwy.
  174.   
  175.      7. Rebuild DOS MALLOC map. Sometimes when you leave through
  176.         option 3, you get "Cannot load COMMAND.COM, system halted".
  177.         Bring up CBOOT and use this option to rebuild the DOS
  178.         memory map. Sometimes the magic works, but if your program 
  179.         stepped real hard on DOS, no amount of magic will bring it
  180.         back. Sometimes you don't get much memory back, large
  181.         blocks may not be freed.
  182.    
  183.      8. Exit with debug break. This option does an I